var e = getApp();

Page({
    data: {
        emojis: [],
        serverName: "https://files.ishare20.net/emojipics/",
        ad: {}
    },
    showpics: function(e) {
        console.log(e), wx.navigateTo({
            url: "/pages/emojiList/emojicls/emojicls?dir=" + e.currentTarget.dataset.dir + "&files=" + JSON.stringify(e.currentTarget.dataset.files)
        });
    },
    onLoad: function(t) {
        this.setData({
            ad: e.globalData.ad
        }), wx.showLoading({
            title: "加载中"
        });
        var i = this;
        wx.request({
            url: "https://ishare20.net/gifmaker/emojires.json",
            success: function(e) {
                wx.hideLoading({
                    complete: function(e) {}
                }), i.setData({
                    emojis: e.data
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {
        return {
            title: "表情包大全",
            path: "pages/emojiList/emojiList"
        };
    }
});